* {
	margin: 0;
	padding: 0
}


/* 全局配置 */
body {
	font: 0.12rem/0.24rem "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "Arial", "sans-serif";
	color: #000;
	-webkit-text-size-adjust: none;
	outline: none;
	background: #F6F6F6
}

li {
	list-style: none
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

img {
	border: 0;
	vertical-align: middle;
}

input {
	vertical-align: middle;
	outline: none;
}

textarea {
	resize: none
}

form {
	display: inline-block;
	width: 100%;
}

button {
	border: none;
	background: none;
	text-align: center;
	cursor: pointer;
	display: block;
}

s {
	text-decoration: none;
}

label {
	display: inline-block;
}

h3 {
	font-size: 14px;
}

b {
	vertical-align: middle;
}

em {
	font-style: normal;
}

p {
	margin: 0;
	padding: 0;
}

/* 禁用 radio 和 checkbox 默认样式 */
input[type=radio]::-ms-check,
input[type=checkbox]::-ms-check {
	display: none;
}

/*禁止长按链接与图片弹出菜单*/
a,
img {
	-webkit-touch-callout: none
}

table {
	border-spacing: 0;
	border-collapse: collapse;
}

textarea {
	overflow-y: auto;
	overflow-x: hidden;
	outline-style: none;
	outline-width: initial;
	outline-color: initial;
	resize: none
}

textarea:focus {
	border: none;
}

.fleft {
	float: left;
}

.fright {
	float: right;
}

.tcenter {
	text-align: center;
}

.tleft {
	text-align: left
}

.tright {
	text-align: right;
}

input[type=button] {
	-webkit-appearance: none;
	outline: none
}

/*clear clearfix*/
.clear {
	clear: both;
}

.clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {
	zoom: 1;
}

/* 只显示一行超出以省略号代替(有些浏览器需加宽度起作用) */
.ellipsis {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.show {
	display: block;
}

.hide {
	display: none;
}

/*flex布局*/
.flex {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

/* 垂直显示 */
.flex-column {
	-webkit-box-orient: vertical;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}

.flex1 {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.flex2 {
	flex: 2;
	-webkit-box-flex: 2;
	-ms-flex: 2;
}

.flex3 {
	flex: 3;
	-webkit-box-flex: 3;
	-ms-flex: 3;
}

/* 换行 */
.flex-wrap {
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

/* 垂直居中 */
.flex-align-center {
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

/* 水平居中 */
.flex-pack-center {
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}

/* 两端对齐 */
.flex-pack-justify {
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

/* 全屏阴影 */
.masks {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(9, 9, 9, 0.60);
	z-index: 100;
	display: none;
}

html {
	font-size: 85.2px;
}

/*安卓的尺寸已iphone5的尺寸为基础尺寸*/
/* iphone4*/
@media screen and (device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2) {
	html {
		font-size: 85.2px !important
	}
}

/* iphone5*/
@media screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
	html {
		font-size: 85.2px !important
	}
}

/* iphone6竖屏*/
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: portrait) {
	html {
		font-size: 100px !important
	}
}

/* iphone6 plus竖屏*/
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: portrait) {
	html {
		font-size: 110px !important
	}
}

* {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.main {
	padding-top: 0.44rem;
}
